package com.pivotal.cloud.crypto.encrypt;

/**
 * @className: com.pivotal.cloud.security.crypto.encrypt.BytesEncryptor
 * @projectName: PivotalCloud项目
 * @module: PivotalCloud项目-BytesEncryptor类，主要位于Security安全模块-字节加密模块
 * @content: BytesEncryptor-字节加密
 * @author: Powered by Marklin
 * @datetime: 2025-06-25 22:06
 * @version: 1.0.0
 * @copyright: Copyright © 2018-2025 PivotalCloud Systems Incorporated. All rights
 * reserved.
 */
public interface BytesEncryptor {

	/**
	 * Encrypt the byte array.
	 */
	byte[] encrypt(byte[] byteArray);

	/**
	 * Decrypt the byte array.
	 */
	byte[] decrypt(byte[] encryptedByteArray);

}
